package cn.iocoder.yudao.module.reading.dal.dataobject.assignment;

import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 作业绘本关联 DO
 *
 * @author 芋道源码
 */
@TableName("assignment_books")
@KeySequence("assignment_books_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AssignmentBookDO extends BaseDO {

    /**
     * 关联ID
     */
    @TableId
    private Long id;
    /**
     * 作业ID
     */
    private Long assignmentId;
    /**
     * 绘本ID
     */
    private Long bookId;
    /**
     * 在作业中的排序
     */
    private Integer sortOrder;

}
